<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="UTF-8"%>
<%@page import="java.io.*"%>
<%@page import="java.net.*"%>
<%@page import="java.util.*"%>
<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy"%>

<%

	//String savepath="C:\\image";
	String savepath="D:\\Book\\BookProjectJSON\\src\\main\\webapp\\resources";	

	int sizeLimit=5*1024*1024;
	
	try{
		
		MultipartRequest multi=new MultipartRequest(
				request, savepath, sizeLimit, new DefaultFileRenamePolicy());
		
	}catch(Exception e){
		e.printStackTrace();
	}
	
	

%>